package com.cyf.service;

import com.cyf.db.bean.AppCar;
import com.cyf.db.bean.User;
import com.cyf.service.bean.CustomException;

/**
 * Created by hfy on 2017/6/8.
 */
public interface AppUserCarService {


    void addCar(User user, AppCar car) throws CustomException;

    /**
     * 根据车牌号获取车主的手机号
     * @param plate
     * @return
     */
    String selectByPlate(String plate);
}
